window.OBR||(function(){window.OBR={_jsc:{}};OBR.error=function(a){var b=["www.vanguardngr.com"];if(!0!==a){var c,d=document,f=window.OB_releaseVer,g=a.isMonitorRepeated?"&isMonitorRepeated=true":"";eleErrorURl=a.errorEleUrl?"&errorEleUrl="+encodeURIComponent(a.errorEleUrl):"";b=window.location&&window.location.hostname&&-1l&&0');a=a.w();d=window.document.createDocumentFragment(); d.appendChild(b);d.appendChild(c);a.appendChild(d)}; Gb=function(){var a=!1,b=null;return new window.Promise(function(c,d){var e=(0,window.btoa)(window.OBR.f.hf);window.OBR.j.log("FD call TCheck");var f=(0,window.setTimeout)(function(){a=!0;window.OBR.j.log("FD TCheck timeout");d({type:"timeout"})},200);b=Date.now();window.OBR.Ja.get(Fb+"/"+e,null,function(e){var g=Date.now()-b;a:{var h=!1;if(e){try{h=JSON.parse(e).result}catch(l){e=null;break a}e=h}else e=void 0}a&&wb({cheqEvent:3,responseTime:g});(0,window.clearTimeout)(f);window.OBR.j.log("FD got response from TCheck"); null===e&&d({type:"error"});c(e)})})};Hb=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()}; Ib=function(){window.OBR.j.log("FD Process started");this.Zh=Hb();this.h=new window.OBR.Oa;this.El=!1;this.Jd=0;this.gb=100;this.c=!1;var a=window.OBR.f;a:{var b=window.document.querySelector(".OUTBRAIN");if(b&&(b=b.getAttribute("data-src")))try{var c=(0,window.decodeURIComponent)(b);break a}catch(d){}c=void 0}c=c||window.OBR.b.pf("property","og:url","meta","content")||window.OBR.b.pf("rel","canonical","link","href")||window.location.href;b=window.document.createElement("a");b.href=c;a.hf=b.hostname}; Kb=function(a){var b;return ra(function(c){if(1==c.c){b=window.OBR.b.X("OB-FDE",null);if(null!==b){"0"===b&&(a.gb=0);c.c=2;return}return ja(c,Jb(a),3)}2!=c.c&&(b=c.F);return c.return(b)})};Jb=function(a){var b;return ra(function(c){if(1==c.c)return c.u=2,ja(c,Lb(a),4);if(2!=c.c)return b=c.F,c.return(b?"2":"0");ka(c);return c.return("0")})}; Lb=function(a){var b,c;return ra(function(d){if(1==d.c)return d.u=2,ja(d,Gb(),4);if(2!=d.c)return b=d.F,a.gb=2,d.return(b);(c=ka(d))&&"timeout"===c.type?(window.OBR.j.log("FD TCheck timeout"),a.gb=1):a.gb=7;return d.return(!1)})};Sb=function(){var a=window.OBR.fc,b;ra(function(c){if(1==c.c)return ja(c,Kb(a),2);b=c.F;switch(b){case "2":Qb(a);break;case "6":Cb();case "4":a.gb=6;Rb(a);break;case "0":Rb(a);break;case "5":Qb(a);break;default:Rb(a)}c.c=0})}; Qb=function(a){var b;ra(function(c){switch(c.c){case 1:return c.u=2,ja(c,zb(),4);case 4:window.OBR.j.log("FD got response from Cheq");a.Jd=1;a.gb=4;c.c=3;c.u=0;break;case 2:b=ka(c),window.OBR.f.Id=a.Zh,"timeout"===b.type?(a.Jd=2,window.OBR.j.log("FD Cheq timeout"),a.gb=3):(a.Jd=5,a.gb=5,window.OBR.j.log("FD Cheq error"));case 3:Rb(a),c.c=0}})};Tb=function(a,b){a.h.add("onFDStatusReady",b)}; Rb=function(a){var b={gb:a.gb},c={cheqEvent:0,exitReason:b.gb};b.data&&b.data.rr&&(c.responseTime=b.data.rr);wb(c);a.El=!0;a.h.G("onFDStatusReady");window.OBR.j.log("FD finished")};Ub=function(a){if(a&&(a=a.w())){var b=["ob-dynamic-rec-container"].map(function(a){return"."+a}).join(",");return[].slice.call(a.querySelectorAll(b))}}; Vb=function(a){if(!a)return null;var b=".ob-rec-image-container .ob-rec-text .ob-rec-source .ob-rec-description .ob-grid-button-container .ob-rec-logo .ob-rec-date .ob-rec-author".split(" ").reduce(function(b,d){return a.querySelector(d)?b+"1":b+"0"},"");return b?b:null};Wb=function(a){if(a)return[a.w()]};Yb=function(){this.startTime=Date.now();this.h=[];Xb(this)};Xb=function(a){window.OBR.f.og&&window.addEventListener("unload",function(){a.o()})}; Zb=function(){this.u=new Yb;this.Dc=this.Dc.bind(this);this.Ji=this.Ji.bind(this);this.Mf=this.Mf.bind(this);this.o=Ub;this.h=Wb;this.c=[]};$b=function(){this.c=[];this.wi=this.wi.bind(this);this.vi=this.vi.bind(this)};ac=function(a){a&&window.document&&window.document.body&&a.forEach(function(a){a=window.OBR.b.createElement("img",null,"display:none;width:1px;height:1px",{src:a.url,referrerpolicy:"no-referrer"});window.document.body.appendChild(a)})}; bc=function(a){a&&window.document&&window.document.head&&a.forEach(function(a){a=window.OBR.b.za("ob-pixel"+window.OBR.b.ki(),a.url,!0,!0);window.OBR.b.Ga(a)})};ec=function(a,b,c,d,e){var f=e.filter(function(a){return 1===a.event}),g=e.filter(function(a){return 2===a.event});e=e.filter(function(a){return 3===a.event});cc(b,d,f);dc(a,b,c,d,g,e)}; cc=function(a,b,c){if(c&&c.length){var d=a?a.w():void 0;a=a.i("fireImpressionPixelsOutsideIframe",!1);var e=c.filter(function(a){return 2==a.method});c=c.filter(function(a){return 1==a.method});fc(d,c,a);gc(d,b,e)}}; fc=function(a,b,c){if(b&&b.length){a=a.querySelector(".ob-pixels");var d=window.document.createDocumentFragment(),e=function(a){a=window.OBR.b.createElement("iframe",null,"display:none;width:1px;height:1px;",{src:"https://widgets.outbrain.com/nanoWidget/externals/obPixelFrame/obPixelFrame.htm#p="+a.url,sandbox:"allow-scripts allow-same-origin"});d.appendChild(a)},f=function(a){a=window.OBR.b.createElement("img",null,"display:none;width:1px;height:1px;",{src:(0,window.decodeURIComponent)(a.url),referrerpolicy:"no-referrer"}); d.appendChild(a)};b.forEach(c?f:e);a.appendChild(d)}};dc=function(a,b,c,d,e,f){if(c=hc(c,d))e&&e.length&&a.observe(b,c,d,2,e),f&&f.length&&a.observe(b,c,d,3,f)};gc=function(a,b,c){if(c&&c.length){(a=hc(a,b))||window.OBR.error({name:"JsTrackerError",message:"Missing jsTracker element"});var d=window.document.createDocumentFragment();c.forEach(function(a){a=window.OBR.b.za(0,a.url,!0,!1);d.appendChild(a)});window.OBR.b.Oc(d,a)}};hc=function(a,b){if(a)return a.querySelector('[data-pos="'+b+'"]')}; ic=function(){this.J=OBR._jsc.fb();this.o="loading"in window.document.createElement("img")};kc=function(a){var b=jc;a&&a.Ea&&a.Ea.querySelectorAll("img.ob-lazy-img").forEach(function(a){a.setAttribute("loading","lazy");b.c(a)})};lc=function(a,b){var c=jc;b=void 0===b?".ob-lazy-bgimg, .ob-lazy-img":b;[].slice.call(a.Ea.querySelectorAll(b)).forEach(function(d){d={callback:c.h.bind(c),callbackParams:[a,d,b],element:d,rootMargin:""+a.rootMargin,threshold:[0,.5,1],unobserve:!0};(new window.OBR.IntersectionObserver(d)).observe()})}; mc=function(a){if(a){var b=!1,c=window.NaN,d=window.NaN,e=!1,f=a.querySelectorAll("a");f&&0!==f.length&&(f.forEach(function(a){a.addEventListener("click",function(a){if(e)return a.preventDefault(),!1})}),a.addEventListener("mousedown",function(f){b=!0;c=f.clientX;d=a.scrollLeft;e=!1;a&&(a.style.cursor="grabbing",a.classList.add("ob-grabbing"))}),f=function(){b&&(b=!1,a&&(a.style.cursor="",a.classList.remove("ob-grabbing")),a.scrollLeft=a.scrollLeft,e=a.scrollLeft!==d)},a.addEventListener("mouseup", f),a.addEventListener("mouseleave",f),a.addEventListener("mousemove",function(e){b&&(a.scrollLeft=d+(c-e.clientX))}),window.OBR.b.R("\n .ob-grabbing {\n scroll-behavior: auto !important;\n }\n .ob-grabbing a {\n cursor: grabbing !important;\n scroll-snap-align: none !important;\n }\n .ob-grabbing > * {\n scroll-snap-align: none !important;\n }\n .ob-grabbing img {\n -webkit-user-drag: none;\n -khtml-user-drag: none;\n -moz-user-drag: none;\n -o-user-drag: none;\n user-drag: none;\n }\n "))}}; nc=function(a,b){this.s=a;this.u=b;this.c=window.OBR.f.fj+"logger/v1/widget/";this.o=this.s.m("req_id",-1)+(new Date).getTime();this.h=!0};ca="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};t="undefined"!=typeof window&&window===this?this:"undefined"!=typeof window.global&&null!=window.global?window.global:this;ba=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(); x("Promise",function(a){function b(a){this.h=0;this.F=void 0;this.c=[];var b=this.o();try{a(b.resolve,b.reject)}catch(h){b.reject(h)}}function c(){this.c=null}function d(a){return a instanceof b?a:new b(function(b){b(a)})}if(a)return a;c.prototype.h=function(a){null==this.c&&(this.c=[],this.u());this.c.push(a)};c.prototype.u=function(){var a=this;this.o(function(){a.J()})};var e=t.setTimeout;c.prototype.o=function(a){e(a,0)};c.prototype.J=function(){for(;this.c&&this.c.length;){var a=this.c;this.c= [];for(var b=0;b=f}});x("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}}); x("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c=e}});var uc="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c>2;e=(e&3)<<4|f>>4;var h=(f&15)<<2|g>>6;var l=g&63;(0,window.isNaN)(f)?h=l=64:(0,window.isNaN)(g)&&(l=64);c=c+this.Se.charAt(k)+this.Se.charAt(e)+this.Se.charAt(h)+this.Se.charAt(l)}return c},Zp:function(a){a=a.replace(/\r\n/g,"\n");for(var b="",d=0;de?b+=String.fromCharCode(e):(127e?b+=String.fromCharCode(e>>6|192):(b+=String.fromCharCode(e>>12|224),b+=String.fromCharCode(e>>6&63|128)),b+=String.fromCharCode(e&63|128))}return b}};window.btoa=function(b){return a.encode(b)}}})(); (function(){function a(a,b){for(var c=e.length,d;c--;)d=e[c],d.entryType!=a||void 0!==b&&d.name!=b||e.splice(c,1)}function b(a,b){for(var c=0,d=e.length,f=[];c=n&&(b.push(d({type:"childList",target:c,addedNodes:[m],removedNodes:[m],nextSibling:m.nextSibling,previousSibling:m.previousSibling})),l--),e.fb&&p.fb&&k(b,m,p.fb,e.Od),e.Ia&&3===m.nodeType&&m.nodeValue!==p.Ia&&b.push(d({type:"characterData",target:m,oldValue:p.Ia})), e.Sd&&h(m,p)}function h(c,f){for(var n=c.childNodes,p=f.Jb,z=n.length,u=p?p.length:0,E,C,y,B,I,R=0,F=0,J=0;Fa.height?"landscape":"portrait"};b.dm=function(){var a=window.jQuery;return void 0!==a?!(/1\.(0|1|2|3|4)\.(0|1)/.test(a.fn.jquery)||/^1\.1/.test(a.fn.jquery)||/^1\.2/.test(a.fn.jquery)||/^1\.3/.test(a.fn.jquery)):!1};b.w=function(a){return null===a||(0,window.isNaN)(a)?null:d.ha("outbrain_widget_"+a)};b.qf=function(){return d.ha("ob_holder")};b.Uk=function(a){var c=b.qf();null===c&&(c=d.b.createElement("div","ob_holder"),c.style.display="none", a?d.b.insertBefore(c,a):window.document.body.appendChild(c));return c};b.km=function(a,c){var e=d.ha(a);e||(e=d.b.createElement("iframe",a),a=e.style,a.display="none",a.width="1px",a.height="1px",e.src=c||"about:blank",(c=b.qf())||(c=b.Ic()),d.b.Oc(e,c))};b.Ic=function(){if(c.body)return c.body;var a;var b=d.b.Ya("","","body",!0);0>=b.length?a=c.lastChild:a=b[0];return a};b.createElement=function(a,b,d,e){var f;a=c.createElement(a);"string"===typeof b&&a.setAttribute("id",b);"string"===typeof d&& (a.style.cssText=d);for(f in e)e.hasOwnProperty(f)&&a.setAttribute(f,e[f]);return a};b.R=function(a){if(d.f.ac===d.f.dk)try{c.createStyleSheet().cssText=a}catch(h){window.OBR.j.log(h)}else{var b=c.createElement("style"),e=c.body?"string"===typeof c.body.style.WebkitAppearance:!1;b.type="text/css";c.getElementsByTagName("head")[0].appendChild(b);b[e?"innerText":"innerHTML"]=a}};b.za=function(a,b,e,h,l,m){a=c.createElement("script");a.type=d.f.$u;a.src=b;a.charset="UTF-8";a.async=!!e;a.defer=!1;if(m)for(var f in m)m.hasOwnProperty(f)&& a.setAttribute(f,m[f]);h&&d.b.Aa(a,"load",function(a){var b=a.target;b&&(0,window.setTimeout)(function(){b.parentNode.removeChild(b)},3E3)});typeof l===d.f.Rd&&d.b.Aa(a,"load",l);return a};b.az=function(a,b){a=d.b.createElement("link",a);a.setAttribute("rel","stylesheet");a.setAttribute("type",d.f.Nr);b&&a.setAttribute("href",b);return a};b.Vq=function(a){var b=d.ha("ob_iframe");b&&(b.src=a)};b.Kq=function(a){var b=window.OBR.ha(d.f.zf);d.b.pd(b)&&d.b.pd(b.parentNode)&&b.parentNode.removeChild(b); d.b.km(d.f.zf);d.b.Vq(a)};b.qe=function(a){a=(0,window.isNaN)(a)?1E5:a;return Math.floor(Math.random()*a)};b.cA=function(a,b,c){return a.replace(b,c)};b.Ga=function(a){var b=c.getElementsByTagName("head");try{if(b&&0=a.length?a:""};b.ii=function(a){for(var b in d.qd)if(d.qd.hasOwnProperty(b)&&d.qd[b].I===a)return d.qd[b];return null};b.Jz=function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0};b.nu=function(a,b){for(b=b.parentNode;null!==b;){if(b===a)return!0;b=b.parentNode}return!1};b.hd=function(a,b){return"function"!==typeof a?null:void 0===b?a():a(b)};b.Fz=function(){return"Microsoft Internet Explorer"===window.navigator.appName};b.Pr=function(a,b){return a*b};b.Il=function(a){if(!a|| ""===a)return[];a=a.replace("","").replace("http://","").replace("https://","").replace("www.","").replace("www2.","").split("/");a.pop();return 0=a.length)c=a.join(".");else{d[0]=a[0];for(e=1;e<=c;e+=1)d[e]=a[e];c=d.join(".")}return c};b.ct=function(){return"http"+("https:"===c.location.protocol?"s":"")};b.jm=function(a,b){b.parentNode.insertBefore(a,b.nextSibling)};b.$s=function(){var a=c.getElementById("widgetVersionSync");if(null=== a){a=b.createElement("iframe","widgetVersionSync");var d=b.createElement("div",null,"display:none; height:0px; width:0px; border:none;");d.appendChild(a);b.Ic().appendChild(d)}return a};b.Fy=function(a){var c=window.OB_releaseVer;(0,window.isNaN)(c)||(0,window.isNaN)(a)||c>=a||(a=b.ct()+"://widgets.outbrain.com/external/sync/outbrainjs.html?needToBeVer="+a.toString(),b.$s().src=a)};b.sq=function(a){a=a.i("widgetVersionSync",0);(0,window.isNaN)(a)||""===a||(a=(0,window.parseInt)(a,10)||0,b.Fy(a))}; a.ri=function(){if(e)return e;try{var a=window.localStorage;a.setItem("OBtst","");a.removeItem("OBtst");var b=a}catch(k){b={ng:{},setItem:function(a,b){this.ng[a]=b},removeItem:function(a){this.ng[a]=void 0},getItem:function(a){return"undefined"!==typeof this.ng[a]?this.ng[a]:null}}}return e=b};b.Ca=function(b,c){a.ri().setItem(b,c)};b.gt=function(){var a=Math.round(16777215*Math.random());return"rgb("+(a>>16)+", "+(a>>8&255)+", "+(a&255)+")"};b.X=function(b,c){b=a.ri().getItem(b);return null!==b? b:c};b.df=function(b){a.ri().removeItem(b)};b.uy=function(a){var b={};b.cpv=a[0];b.convPerc=a[1];b.convPixel=a[2];b.vidId=a[3];b.player=a[4];b.pos=a[5];b.adId=a[6];b.docEncId=a[7];b.origUrl=a[8];b.trafficUrl=a[9];b.duration=a[10];b.widgetIdx=a[11];b.title=a[12];b.sourceName=a[13];b.reqId=a[14];b.platform=a[15];b.lang=a[16];b.uuid=a[17];b.publisherId=a[18];b.sourceId=a[19];b.widgetNumberId=a[20];b.campaignId=a[21];b.location=a[22];b.timestamp=a[23];return b};b.assign=function(a,b){for(var c in b)b.hasOwnProperty(c)&& (a[c]=b[c]);return a};b.su=function(a){var c=!1;b.fe(a)||(c=a.nodeName&&"span"===a.nodeName.toLowerCase());return c};b.os=function(a,b){if("_blank"===(b.getAttribute("target")||"_self"))for(var c in a){d.b.nc("obm-firePixelBeforeRedirect","pixel fired before redirect",!1,10);b=window.document.createElement("img");var e=a[c];e=d.b.fq(e);b.setAttribute("src",e);b.setAttribute("height","1");b.setAttribute("width","1");window.document.body.appendChild(b)}else d.b.nc("obm-firePixelBeforeRedirectCancelled", "pixel cancelled redirect on same page ",!1,10)};b.fq=function(a){if(a&&a.length)return a=-1=b.length};a.Lc=function(){return b};a.Mk=function(){b=[]};return a}; window.OBR.Promise=function(){function a(a,e){b.then="resolve"===a?function(a){a&&a(e)}:function(a,b){b&&b(e)};b.resolve=b.reject=function(){throw Error("Promise already completed.");};for(var d,g=0;d=c[g++];)d[a]&&d[a](e);c=void 0}var b={},c=[];b.then=function(a,b){c.push({resolve:a,reject:b})};b.resolve=function(b){a("resolve",b)};b.reject=function(b){a("reject",b)};return b}; window.OBR.gp=function(a){var b={},c=null,d,e;b.onClickOrAutoplay=void 0;b.onDisplayReady=void 0;b.onError=void 0;b.fetch=function(a){null===c?(c=a,e&&e(c,this),e=null):(c=a,window.OBR.Nc.Sm([this]))};b.shown=function(b){d=b;window.OBR.Nc&&window.OBR.Nc.Ey(a.widgetId,a.playerId,d)};b.stopTimer=function(){if(this.Co){window.clearInterval(this.Co);var b=window.document.querySelector('[data-ob-player-id="'+a.playerId+'"] .timerNumber');b&&(b.textContent=b.parentElement.getAttribute("data-time"))}};b.fullscreenChange= function(b){window.OBR.Nc.zt(b,a.playerId)};b.placed=function(){window.OBR.Nc.Dy(a.playerId)};b.Vu=function(a){e=a;c&&e(c,this)};b.yb=function(){return a};b.nz=function(){return d};b.xz=function(){return a.when};return b}; window.OBR.nk=function(){var a={},b="00.000",c=null,d=null,e=0;a.start=function(){null===c&&(c=new Date);null!==d&&(e+=new Date-d)};a.stop=function(){var a=new Date(new Date-c-e),g=a.getUTCSeconds();a=a.getUTCMilliseconds();d=new Date;return b=(9d.length&&d.push(b+" >"+a)};b.prototype.printLog=function(){if(c.f.mu)window.console.log(d.join("\n"));else{var a=c.b.qf();a&&(a.innerHTML=d.join("
"),a.style.display="block")}return d.join("\n")};a.j=a.j||new b;a.printLog=a.j.printLog})(window.OBR);Aa.prototype.add=function(a,b){if("string"===typeof a&&"function"===typeof b){var c={};c.name=a;c.Rd=b;this.c.push(c)}};Aa.prototype.G=function(a,b,c,d){b=b||[];c=!!c;this.h||window.OBR.ui.ls(a,d);window.OBR.j.log("event fire:"+a);for(var e=0,f=this.c.length;ea.length))for(var c=0,d=a.length;ca.expiry?(window.OBR.b.df("OB-TPCS"),null):a.value},we:function(b){-1===a.Jj&&(a.Jj=b)}};window.OBR.Bd=d}();window.OBR.mc=window.OBR.mc||function(){var a={key:null};(function(){a:{var a=window.OBR.b.X("OB_LS_CONTEXT",null);if(a)try{var c=JSON.parse(a);if(c.key){var d=c;break a}}catch(f){window.OBR.j.log("Failed to parse stored value OB_LS_CONTEXT")}d=null}if(d&&"disabled"!==d.key){if(d=d.key){c=window.OBR.b.X(d,null);if(!c&&0c;)try{if(a.frames.__tcfapiLocator)return this.h= a,2;if(a.frames.__cmpLocator)return this.c=a,1;if(a===window.top)break;a=a.parent;c++}catch(d){break}return null};a.prototype.Z=function(){if(typeof window.OBR.f.Ee.OB_CONSENT===window.OBR.f.Fk&&!1===window.OBR.f.Ee.OB_CONSENT)this.rb="no_consent",this.ud=!0;else if(this.ud)switch(this.Hc){case 1:this.vb();break;case 2:this.Fb()}};a.prototype.J=function(){var a=this;this.Xb&&window.__uspapi("getUSPData",1,function(b,d){d&&b&&b.uspString?(window.OBR.j.log("getCCPAData: "+b.uspString),window.OBR.b.Ca("OB-CCPA", b.uspString),a.cc=b.uspString):window.OBR.b.nc("obm-ccpa_fail",window.document.location.hostname,!1,100)})};a.prototype.ya=function(){function a(b,e){!e||"tcloaded"!==b.eventStatus&&"useractioncomplete"!==b.eventStatus?window.OBR.b.nc("obm-cmp_fail",window.document.location.hostname,!1,100):(b=window.OBR.b.fa(b.tcString),window.OBR.j.log("getConsentData: "+b),window.OBR.b.Ca("OB-CNSNT-2",b),c.$e||(c.Lb=b),window.__tcfapi("removeEventListener",2,function(){},a))}var c=this;window.__tcfapi("addEventListener", 2,a)};a.prototype.vb=function(){var a=this;this.c&&this.o();try{window.__cmp("getConsentData",null,function(b){b&&b.consentData?(b=window.OBR.b.fa(b.consentData),window.OBR.j.log("getConsentData: "+b),window.OBR.b.Ca("OB-CNSNT",b),a.$e||(a.rb=b)):window.OBR.b.nc("obm-cmp_fail",window.document.location.hostname,!1,100)})}catch(c){window.OBR.b.nc("obm-cmp_fail",window.document.location.hostname,!1,100),this.rb="no_consent",this.ud=!0}};a.prototype.o=function(){var a=this;window.__cmp=function(b,d,e){var c= Math.random()+"";b={__cmpCall:{command:b,parameter:d,callId:c}};a.Gc[c]=e;a.c.postMessage(b,"*")};window.addEventListener("message",function(b){try{var c="string"===typeof b.data?JSON.parse(b.data):b.data;if(c.__cmpReturn){var e=c.__cmpReturn;a.Gc[e.callId](e.returnValue,e.success);delete a.Gc[e.callId]}}catch(f){}},!1)};a.prototype.Fb=function(){var a=this;null!=this.h&&this.u();try{window.__tcfapi("getTCData",2,function(b,d){d&&"loaded"===b.cmpStatus?(b=window.OBR.b.fa(b.tcString),window.OBR.j.log("getConsentData: "+ b),window.OBR.b.Ca("OB-CNSNT-2",b),a.$e||(a.Lb=b)):a.ya()})}catch(c){window.OBR.b.nc("obm-cmp_fail",window.document.location.hostname,!1,100),this.rb="no_consent",this.ud=!0}};a.prototype.u=function(){var a=this;window.__tcfapi=function(b,d,e,f){var c=Math.random()+"";b={__tcfapiCall:{command:b,parameter:f,version:d,callId:c}};a.Gc[c]=e;a.h.postMessage(b,"*")};window.addEventListener("message",function(a){var b={};try{b="string"===typeof a.data?JSON.parse(a.data):a.data}catch(e){return}(a=b.__tcfapiReturn)&& "function"===typeof this.Gc[a.callId]&&(this.Gc[a.callId](a.returnValue,a.success),this.Gc[a.callId]=null)},!1)};a.prototype.da=function(){if(typeof window.OBR.f.Ee.OB_CONSENT!==window.OBR.f.Fk||!1!==window.OBR.f.Ee.OB_CONSENT)""!==window.OBR.b.X("OB-CNSNT","")&&(this.rb=window.OBR.b.X("OB-CNSNT","")),""!==window.OBR.b.X("OB-CNSNT-2","")&&(this.Lb=window.OBR.b.X("OB-CNSNT-2",""))};window.OBR.aa||(window.OBR.aa=new a)})();(function(){function a(){this.l=d}function b(a,b,c){this.url=b;this.version=c;this.state=0;this.Xe=[];this.context=this;this.el=null}var c,d={Iy:"ADNGIN",Qg:"POPUPDESCRIPTION",Qe:"WHATIS",Hg:"FLYTHROUGH",hh:"VIDEO",Wg:"SCROLL",lk:"SCROLLEXTERNAL",jk:"REGISTER",ih:"VIDGET",Ug:"REFRESHWIDGET",Yg:"SKYLANDER",Ne:"LOADMORE",Ly:"DYNAMICTEXTTRUNCATION",dh:"TOPBOX",Lg:"PAGER",gk:"PAGEREXTERNAL",hk:"PAGEREXTERNALNEW",gh:"USERZAPPING",Le:"INPLAYERWIDGET",Sg:"READMORE",Ad:"NATIVEVIDEOPLAYER",lh:"WIDGETWIZARD", $g:"SWIPELAYOUT",fh:"USERACTIONS",Ny:"MEGABLOCKS",Zg:"STASHRENDERER",Dg:"EMBEDDEDARTICLES",Ky:"BALCONY",bd:"STREAMFEED",Ig:"FOLLOWTOPICFEED",xg:"ADCAROUSEL",Ng:"PERFORMANCEMONITOR",Xg:"SINGLECARDCAROUSEL",zg:"CARDSCAROUSELBOX",Rg:"PUBLISHERTOOLS",Og:"PLAYABLEAD",Pg:"PODCAST",bh:"TIMELINE",ck:"LISTORY",fk:"OB_LISTORY",Jg:"GRIDCAROUSEL",kh:"WIDGETINJECTOR",Cg:"DISPLAY",Tg:"REEL",Mg:"PARALLAX",Fe:"CLIP",Eg:"EXPLORE_MORE"};b.prototype.qr=function(){if(2===this.state)this.Rm();else if(0===this.state){var a= window.OBR.b.za(0,this.url,!0);a.onerror=this.el;this.state=1;window.OBR.b.Ga(a)}};b.prototype.Rm=function(){this.state=2;for(var a=0;ad+1&&b.push(f)}b.push(!1);for(d=0;db.C()?1:0});break;case window.OBR.f.Ba.WIDGET_ID_DESC:this.c=this.c.sort(function(a,b){return b.C()a.C()?1:0});break;case window.OBR.f.Ba.FEED_PARENT_FIRST:this.c=this.c.sort(function(a,b){b=b.C();return window.OBR.f.qm(a.C())?-1:window.OBR.f.qm(b)?1:0})}return!0};c.A=function(c){d=c||window.OBR;b.sb=new a;b.le=new d.Oa;b.ce=!1;b.Xy=null;b.xl=!0;b.yl=!0;b.Wt()};b.Wt=function(){b.sc=!1;if(!1!==window.OBR.f.Dl)window.OBR.f.Ha=(0,window.parseInt)(window.OBR.f.Dl), b.Hi()&&(b.sc=!0,b.oj());else{if(window.OBR.f.Ku()){var a=window.OBR.b.X("OB-REQ-MODE",null),c=(0,window.parseInt)(window.OBR.b.X("OB-REQ-MODE-VER",0));if(null!==a&&c===window.OBR.f.Vn){window.OBR.f.Ha=(0,window.parseInt)(a);b.Hi()&&(b.sc=!0,b.oj());return}a=window.OBR.b.qe(1E3);if(75>a)switch(a=window.OBR.b.qe(4),a){case 0:window.OBR.f.Ha=window.OBR.f.Ba.LIFO;b.sc=!0;break;case 1:b.sc=!0;window.OBR.f.Ha=window.OBR.f.Ba.WIDGET_ID_ASC;break;case 2:b.sc=!0;window.OBR.f.Ha=window.OBR.f.Ba.WIDGET_ID_DESC; break;case 3:window.OBR.f.Ha=window.OBR.f.Ba.FIFO;break;default:window.OBR.f.Ha=window.OBR.f.Ba.FIFO}else window.OBR.f.Ha=window.OBR.f.Ba.CONTROL;window.OBR.b.Ca("OB-REQ-MODE",window.OBR.f.Ha);window.OBR.b.Ca("OB-REQ-MODE-VER",window.OBR.f.Vn)}b.sc&&b.oj()}};b.oj=function(){window.OBR.Ka.tj.then(function(){b.Jo()});window.setTimeout(function(){b.Jo()},1E3)};b.Hi=function(){return window.OBR.f.Ha!==window.OBR.f.Ba.CONTROL&&window.OBR.f.Ha!==window.OBR.f.Ba.FIFO&&window.OBR.f.Ha!==window.OBR.f.Ba.UNDEFINED}; b.dt=function(){if(b.me)return b.me;var a=d.f.Rf&&d.f.Rf.length?"&osLang="+d.f.Rf:"",c=d.ga.Da;c="&winW="+c.width+"&winH="+c.height;var g="&scrW="+d.f.sj.No+"&scrH="+d.f.sj.ld,k=d.f.Qh?"&xp="+d.b.fa(d.f.Qh):"",h=d.f.om?"&wrDebug=true":"",l=d.f.ws?"&forceFeed=true":"",m="https://"===d.f.W?"&secured=true":"",n=d.f.Ih?"&contxtKV="+d.b.fa(d.f.Ih):"";b.me="&settings=true&recs=true&version="+d.f.xc+"&sig="+d.f.Uj+"&apv="+d.f.Ed+d.f.jn+d.f.kn+d.f.Yk+d.f.Dm+d.f.sh+d.f.Sk+k+a+c+g+("&dpr="+d.f.bl)+h+l+m+n+ (d.aa.Lb?"&cnsntv2="+d.aa.Lb:"")+(d.aa.rb?"&cnsnt="+d.aa.rb:"")+(d.aa.Hc?"&cmpStat=1":"&cmpStat=0")+(d.aa.cc?"&ccpa="+d.aa.cc:"")+(d.aa.Ii?"&ccpaStat=1":"&ccpaStat=0")+(window.OBR.f.nd?"&iframe=true":"")+(window.OBR.f.mc?"&lscntx="+window.OBR.f.mc:"")+(window.OBR.f.Dj?"&skipContextValidation="+window.OBR.f.Dj:"")+(window.OBR.f.jg?"&skipRecsFilters="+window.OBR.f.jg:"")+(window.OBR.f.mf?"&forceAd="+window.OBR.f.mf+"&settingLevel=SOURCE":"")+(d.f.Ha!==d.f.Ba.UNDEFINED?"&ro="+d.f.Ha:"")+(d.f.nj?"&ref="+ d.f.nj:"");return b.me};b.Fr=function(a){var c=a.U(),e=d.b.X("OB-USER-TOKEN",null),k=d.b.X("OB-USER-TOKEN-CREATION",null),h=window.OBR.Wf.get(),l=a.Sl(),m=l&&null!==l.x?"&px="+l.x:"";l=l&&null!==l.y?"&py="+l.y:"";var n=a.Fs();n=null!==n?"&vpd="+n:"";var p=""!==d.f.Ae&&0!==c?"&t="+d.f.Ae:"",q=b.Os(a);q=q?"&lastPvTs="+q:"";var u=!0===d.f.pg||!0===a.uf(),z=a.ti()?"&videoId="+a.ti():"",C=a.Rl()?"&playerSrcId="+a.Rl():"",E=a.xb()?"&api_user_id="+a.xb():"",y="true"===d.qb.ae()?"&adblck=true":"&adblck=false", B=!u&&d.f.ed?"&clss="+d.f.ed:"",I=a.Nb()?"&key="+a.Nb():"&key="+d.f.Bn,R=b.Ud(a),F=!0===a.Am()||d.f.aj?"&rtbEnabled=true":"",Na=!0===a.Im()?"&va=true":"",Oa=1==a.Jl()?"&et=true":"",Pa=d.f.hb&&d.f.hb[a.C()]?"&contextRule=false":"",Qa=null!==a.sf()?"&num="+a.sf():"",Ra=b.pt(a),Sa=b.lt(a),Ta=a.hc()?"&installationType="+a.hc():"",Ua=a.gc()?"&app_ver="+a.gc():"",Va="&widgetJSId="+(d.f.hb&&d.f.hb[a.C()]?d.f.hb[a.C()]:a.C());B+=B||!window.OBR.f.Id||u?"":"&clid="+window.OBR.f.Id+"&fdu="+window.OBR.f.hf;var Wa= "&format="+a.Nl(),Xa=e?"&lsd="+d.b.fa(e):"";k=k?"&lsdt="+k:"";e="&pdobuid="+b.xs(h,e);h=a.Ol()?"&lang="+a.Ol():"";var Ya=a.Tl()?"&psub="+a.Tl():"";u=u?"&testMode=true":"";var ta=b.Hs(a),Za=a.Ll()?"&fId="+a.Ll():"",J=a.li&&a.li()?"&reasonType="+a.li():"",$a=a.ni&&a.ni()?"&reasonValueId="+a.ni():"",ab=a.mi&&a.mi()?"&reasonValue="+a.mi():"",bb=a.di&&a.di()?"&categoryIds="+d.b.fa(a.di()):"",cb=a.Ml()?"&feedVersion="+a.Ml():"",db=a.Jc()?"&fAB="+a.Jc():"",eb=a.Vd()&&""!==a.Vd()?"&fbk="+a.Vd():"";return ta+ "?"+Ra+Sa+"&idx="+c+eb+"&rand="+d.b.qe()+I+Ta+Ua+q+Va+Na+Oa+Wa+F+Xa+k+e+h+Ya+p+Pa+E+z+C+y+B+R+Qa+u+Za+J+$a+ab+bb+cb+db+m+l+n+(a.gi()&&""!=a.gi()?"&settingLevel=TEMPLATE&"+a.gi():"")+(null!==window.OBR.f.oe?"&pubInState="+window.OBR.f.oe:"")};b.As=function(a){var c=b.Fr(a),e=b.dt();return(a=a.ut())&&"hp"===a?d.f.Qt+c+e:d.f.nn+c+e};b.xs=function(a,b){return a?a===b?0:window.OBR.b.fa(a):-1};b.Ud=function(a){var b="",c=d.b.ug(d.f.Ph);a=d.b.ug(a.Ud());if(c||a)b="&extid="+(a||c);return b};b.pt=function(a){var b= a.bi(),c=a.fi(),e=a.ji();return b?"bundleUrl="+d.b.fa(b):e?"portalUrl="+d.b.fa(e):c?"contentUrl="+d.b.fa(c):"url="+d.b.fa(a.ta())};b.Hs=function(a){return a.bi()||a.fi()||a.ji()?"/utils/platforms":"/utils/get"};b.lt=function(a){var b="&srcUrl=";a=a.Wl();null!==a&&"string"===typeof a&&0l&&(b=l)}}catch(m){window.OBR.j("Error parsing last page view info")}d.b.Ca("OB-lastPageViewInfo",JSON.stringify({url:a,previousRequestTime:c}))}return b}; c.Xt=function(){d.f.Ed=!1};c.register=function(a){b.sb.add(a);d.j.log("register odb for "+a.ta());c.G()};c.tt=function(){return b.sb.Lc()};c.Lq=function(a){c.unlock(a.I,a.C());c.G()};c.da=function(){b.sb.Mk();b.le.Fc();b.ce=!1;b.me=null};c.sa=function(){b.Gb=d;return b};c.A(window.OBR);return c}();window.OBR.controller=window.OBR.controller||function(){var a=this,b,c={},d={},e;c.Jf="manualDataReady";c.Zm="manualEditorialDataReady";c.Ui="manualClickReady";var f=!1,g=[],k=500;c.A=function(a){b=a=a||window.OBR;e=new b.Oa;d.Gf();c.Tt();window.OBR.Bd.test()};c.sa=function(){return d};c.Zz=function(a){e.add("onHtmlReturn",a)};c.Cw=function(a){e.add("noRecs",a)};d.Mj=function(a){if(window.OBR.f.Mj&&b.f.ac!==b.f.Xj&&b.f.ac!==b.f.ak&&!b.f.na&&window.document.querySelectorAll&&a&&(a=a.w())){a=a.querySelectorAll(".ob-dynamic-rec-link,A.item-link-container,DIV.item-container > A:first-child,.odb_li .rec-link"); for(var c=0;c=h.kt(a)&&e.G("noRecs",[h]),h.Cm()||(h.setData(a),h.no(),h.Kx(),0===f&&(h.bo(),c.zx(h)),b.ra.mo(h.m("t",null)),b.f.na="mobile"===h.m("readerPlatform","desktop")||b.f.zu,b.f.Yf=h.m("readerPlatform","desktop"),0===f&&h.i("widgetLazyLoad", !1)&&d.gm(h),window.OBR.ua.Bv(h.C(),h.U()),c.rl(h,f),d.Fm(h)||h.Mi()||d.Zu(h.rf())?ob(b.lb,h):(b.ra.Yw(h.i("apv",!1)),c.Ju(h)?c.ue(f):c.Dt(h),c.bm(h))),c.ms(h)):b.j.log("odbHtmlReturned : Widget not found")};c.zx=function(a){a&&(window.OBR.monitorData={pubId:a.m("pid","0"),sourceId:a.m("sid","0"),docId:a.m("did","-1")})};c.rl=function(a,b){e.G("odbRtn_"+a.C(),[a]);e.G("odbRtn_"+b,[a]);e.G("onHtmlReturn",[a],!1,a)};c.bm=function(a){d.pr(a);d.mr(a);d.lr(a);d.nr(a);d.dr(a);d.jr(a);d.Xq(a);d.gr(a);d.kr(a); d.hr(a);d.cr(a);d.ar(a);d.br(a);d.Zq(a);d.ir(a);d.Yq(a);d.$q(a);window.OBR.Kg.Dd(a)};d.ke=function(a){return 1E3>a?a:a%1E3};d.Zu=function(a){var c=!1;null!==a.match(/(<\/?met|<\/?scr)/i)&&(c=!0,b.j.log("SECURITY"));return c};c.ms=function(a){d.Fm(a)||(b.ra.unlock(a.I,a.C()),b.ra.G())};d.mr=function(a){!b.f.na&&a.Ru()&&a.Nu()?b.g.H(b.g.l.Yg,function(a){b.qo.A(a)},this,a):a.Qu()?b.g.H(b.g.l.dh,function(a){b.vc.A(a)},this,a):a.wu()?b.g.H(b.g.l.Ig,function(a){window.OBR.vs.init(a)},this,a):a.jb()&&b.g.H(b.g.l.bd, function(a){window.OBR.ze.init({zn:a,Rh:a.i("feedManualChunkFetch",!1),Om:a.i("sideElementFeedLimiter",null)})},this,a);a.Yu()&&b.g.H(b.g.l.kh,function(a){window.OBR.Sj.A(a)},this,a)};d.lr=function(a){b.f.na&&!0===a.i("isReadMoreEnabled",!1)&&b.g.H(b.g.l.Sg,function(a){b.tb.A(a)},this,a)};d.pr=function(a){a.Za()&&b.f.na&&a.Ni()&&3===a.i("dynamicDynamicLayoutVersion",3)&&b.g.H(b.g.l.$g,function(a){b.Gj.A(a)},this,a)};d.nr=function(a){a.Za()&&a.mm()&&b.g.H(b.g.l.xg,function(a){b.wa.A(a)},this,a)};d.jr= function(a){a.Za()&&a.Mu()&&b.g.H(b.g.l.Xg,function(a){b.po.A(a)},this,a)};d.Xq=function(a){a.Za()&&a.lu()&&window.OBR.g.H(window.OBR.g.l.zg,function(a){window.OBR.Ik.A(a)},this,a)};d.dr=function(a){a.m("obPerformance")&&(window.OBR.f.Lf=!0,d.Tm())};d.gr=function(a){a.Za()&&a.Gu()&&b.g.H(b.g.l.Og,function(a){b.Cn.A(a)},this,a)};d.hr=function(a){a.Za()&&a.Hu()&&b.g.H(b.g.l.Pg,function(a){b.Dn.A(a)},this,a)};d.ar=function(a){a.Za()&&a.Au()&&window.OBR.g.H(window.OBR.g.l.Jg,function(a){window.OBR.$l.A(a)}, this,a)};d.br=function(a){a.i("listoryEnabled",!1)&&c.dg(a,window.OBR.g.l.fk,function(a){window.OB_LISTORY.init(a.currentWidget);window.OBR.j.log("outbrain-listory loaded")})};d.cr=function(a){a.Za()&&a.Fu()&&window.OBR.g.H(window.OBR.g.l.Mg,function(a){return window.OBR.hj.A(a)},this,a)};d.kr=function(a){a.Za()&&a.Gm()&&window.OBR.g.H(window.OBR.g.l.bh,function(a){window.OBR.Bo.A(a)},this,a)};d.Zq=function(b){b.Za()&&b.pm()&&window.OBR.g.H(window.OBR.g.l.Cg,function(a){return window.OBR.$k.A(a)}, a,b)};d.ir=function(b){b.Za()&&b.Bm()&&window.OBR.g.H(window.OBR.g.l.Tg,function(a){return window.OBR.Mn.A(a)},a,b)};d.Yq=function(c){c.Za()&&c.It()&&(c.jb()?b.g.H(b.g.l.bd,function(){return window.OBR.g.H(window.OBR.g.l.Fe,function(a){return window.OBR.clip(a)},a,c)},a):window.OBR.g.H(window.OBR.g.l.Fe,function(a){return window.OBR.clip(a)},a,c))};d.Tu=function(){var a=window.document.referrer;return a&&0<=a.indexOf("m.facebook.com")};d.$q=function(c){if(window.OBR.f.Pt&&c.uu()&&d.Tu()){var e=function(b){return window.OBR.g.H(window.OBR.g.l.Eg, function(a){return window.OBR.gl(a)},a,b)};c.jb()?b.g.H(b.g.l.bd,e,a):e(c)}};d.Gf=function(a){b.f.Gf&&b.g.H(b.g.l.lh,function(){b.Qo.A();b.Ro.A()},this,a)};d.fv=function(){var a=b.b.za(0,"//widgets.outbrain.com/adngin/adngin.js","true");window.document.head.appendChild(a)};c.Ju=function(a){var b=!0;if(a.sm()||a.ma&&a.ma.reason&&a.ma.reason===window.OBR.dc.Ac.ik)b=!1;return b};c.Dt=function(a){a.sm()&&b.display.au(a)};c.ue=function(a){a=b.v[a];window.OBR.ua.bn(a.C(),a.U());b.display.ue(a);b.j.log("HTML - Render"); window.OBR.ua.Hv(a.C(),a.U());c.Uf(a);c.ve(a)};c.ve=function(a){if(!0===a.Qa("inlineNVP",!1)){var c={};c.platform=b.f.Yf;c.lang=a.m("lang","en");c.uuid=a.m("lsd",null);c.publisherId=a.m("pid",null);c.sourceId=a.m("sid",null);c.widgetNumberId=a.m("wnid",null);c.location=a.m("gl","");c.timestamp=a.si();c.widgetID=a.m("widgetJsId",a.C());c.reqID=a.m("req_id","-1");c.pvId=a.m("pvId","-1");c.obcnst=a.m("obcnsnt",!0);c.did=a.m("did",null);c.gdpr=a.m("gdpr",0);c.cnsnt=a.m("cnsnt",null);c.abTestVal=a.Jc()|| a.m("abTestVal","no_abtest");b.g.H(b.g.l.Ad,function(){window.NVPInjector.main.widgetLoad(a.w(),a.Mc(),c)})}};c.Uf=function(a){var c=a.Cu(),d=a.i("dynamicTruncateSource",!1),e=a.i("TruncateDescription",!1);b.b.mn(a);OBR._jsc.ub(b.ef,a.U(),d,e,c)};c.Kn=function(a){b.b.S(a,"ob_clicked");var c=b.b.oa(a,"data-redirect");null!==c&&(a.href=c)};c.rc=function(a){d.sr();b.Ka.hs(a);return!0};c.da=function(){e.Fc()};c.Wn=function(){b.ua.vv();b.Ka.cw(d.Cy);b.display.pc(c.Hb);b.f.iu&&d.fv();b.f.Ff?b.f.$x():b.Ka.Uh(); window.OBR.f.Lf&&d.Tm()};d.Tm=function(){b.g.H(b.g.l.Ng,function(){window.OBR.np.init()},this)};c.Qq=function(a,c,d){if(window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")){var e="https://my.outbrain.com/manage/";e=!1===d?e+("add-zapped-document?publisherId="+c+"&docUrl="+b.b.fa(a)):e+("add-rule?publisherId="+c+"&ruleValue="+b.b.fa(a)+"&ruleType="+d);a=b.b.za(0,e,!0); b.b.Ga(a)}};c.Pq=function(a){window.confirm("Removing this recommendation will remove it permanently for this section and will refresh the recommendations.\n Are you sure you want to remove this recommendation?")&&(a=b.b.za(0,b.f.nn+b.f.Rq+a+"&index=1&templateIndex=1&sig="+b.f.Uj,!0),b.b.Ga(a))};c.Nw=function(a){a&&a.ob_exclude_resp&&"number"===typeof a.ob_exclude_resp.code&&1!==a.ob_exclude_resp.code&&c.rc()};c.Bw=function(a,c){if(c&&"function"===typeof c){var d="odbRtn_"+a;e.add(d,c);(a=b.Ma.Yl(a))&& a.nm()&&e.G(d,[a])}};c.Aw=function(a,c){if(c&&"function"===typeof c){var d="odbRtn_"+a;e.add(d,c);(a=b.Ma.ic(a))&&a.nm()&&e.G(d,[a])}};c.Cs=function(a){return(a=b.Ma.Yl(a))?a.m("tcr",-1):null};c.Xc=function(){b.Ka.Uh()};c.Fc=function(){b.display.da();b.ra.da();this.da();b.Ka.da();b.lb.da();b.ui.da();b.dc&&b.dc.da();b.vc&&b.vc.da();b.Vb.da();b.Md.da();b.f.da();b.aa.da();g.splice(0).forEach(function(a){return a.unobserve()})};c.Rn=function(){this.Fc();this.Wn()};d.sr=function(){b.ra.Xt();b.lb.da(); window.OBR.Vb.da();window.OBR.Md.da()};c.On=function(a,c){a=window.OBR.Ma.ic(d.ke(a));a=d.Vf(a,c);b.ra.register(a)};d.Vf=function(a,b){a.Nn(b);window.OBR.rc&&window.OBR.rc.hg(a);return a};c.Xi=function(a,b,d,f,k,g){b&&a&&(c.ie({link:b,openInWindow:g},null),e.G("videoClick_"+a,[{videoUrl:d,videoId:f,widgetId:a,widgetIdx:k}]))};c.dj=function(a,b){e.add("videoClick_"+a,b)};c.Um=function(a,c,e,f){var k=window.OBR.b.w(a);k?d.Ak(k):window.OBR.error({name:"Error",message:"Cannot find widget element with idx="+ a});if(a=window.OBR.Ma.ic(d.ke(a)))a=d.Vf(a,null),a.jo(c),a.lo(e),a.ko(f),d.xo(a),b.ra.register(a)};d.Vf=function(a,b){a.Nn(b);window.OBR.rc&&window.OBR.rc.hg(a);return a};c.Tt=function(){window.OBR.aa.A()};c.Xi=function(a,b,d,f,k,g){b&&a&&(c.ie({link:b,Wz:g},null),e.G("videoClick_"+a,[{pA:d,oA:f,Ta:a,qA:k}]))};c.dj=function(a,b){e.add("videoClick_"+a,b)};c.Um=function(a,c,e,f){var k=window.OBR.b.w(a);k?d.Ak(k):window.OBR.error({name:"Error",message:"Cannot find widget element with idx="+a});(k=window.OBR.Ma.ic(d.ke(a)))? (k=d.Vf(k,null),k.jo(c),k.lo(e),k.ko(f),d.xo(k),b.ra.register(k)):window.OBR.error({name:"Error",message:"Cannot find widget with idx="+a})};d.xo=function(a){a.Ex(a.rf())};d.Ak=function(a){b.b.S(a,"ob_scoped")};c.vq=function(a){a=window.OBR.Ma.ic(d.ke(a));a.gg(a.bt());b.display.ue(a)};c.Fo=function(a,b,c){"undefined"!==typeof b&&a&&"undefined"!==typeof c?(b=window.OBR.Ma.ic(b))?(b=b.Qa("listings"))&&b[c]&&b[c].clickPixels?window.OBR.b.os(b[c].clickPixels,a):window.OBR.j.log("fireClickPixel: empty meta or key not defined in clickPixels meta"): window.OBR.j.log("triggerClickPixels: widget or rec container not found"):window.OBR.j.log("triggerClickPixels: Missing param to function")};c.jy=function(a,b){if("mraid"in window)try{var c=a.getAttribute("href");b.preventDefault();b.stopPropagation();window.mraid.open(c)}catch(n){window.OBR.error(n)}};c.iy=function(a,b,c,d){try{if(window.OBR.clickHandler){var e=a.getAttribute("href");b.preventDefault();b.stopPropagation();if(d)try{var f=(0,window.decodeURIComponent)(d),k=JSON.parse(f);window.OBR.clickHandler.open(e, c,k);return}catch(z){}window.OBR.clickHandler.open(e,c)}}catch(z){window.OBR.error(z)}};c.Oq=function(a){var c=b.lb.Pa.Nd,d=window.OBR.lb;a=a.split("?");var e=window.OBR.b.An(a[1]);d.o||(e.cheq=window.OBR.fc.Jd,d.o=!0);e.eT=c||d.Pa.ready;e.tm=(new Date).getTime()-d.startTime;e.wRV=window.OBR.f.xc;e.pVis="2";c=window.OBR.b.Fj(e);d.h.add(a[0]+"?"+c);d.u&&qb(d)};c.cq=function(a,c){c=b.v[c];var d="";try{d=JSON.stringify({Request_id:c.m("req_id","-1"),publisher_id:c.m("pid","0"),pv_id:c.m("pvId","-1")})}catch(n){d= ""}window.OBR.error({name:"obm-AdCarouselLogoError",message:"Error loading ad carousel logo image: "+a.src+" widget data: "+d});a.src=a.src+"?t="+(new Date).getTime()};c.Lw=function(a,b,d){if(a){window.OBR.f.Lm=!0;window.OBR.extern.returnedVacData=c.cg;var e=a.response.request.widgetJsId,f=window.document.createElement("div");f.className="OUTBRAIN";f.setAttribute("data-widget-id",e);b?b.parentNode.insertBefore(f,b):window.document.body.appendChild(f);window.OBR.ad.Dd(f,d);c.Of(a,d);f.setAttribute("data-ob-mark", "true");f.setAttribute("data-browser",window.OBR.f.ac);f.setAttribute("data-os",window.OBR.f.ej)}};c.cg=function(a){a&&window.OBR.ze.cg(a,a.feedIdx)};c.A(window.OBR);return c}();window.OBR.display=window.OBR.display||function(){var a,b={},c;b.A=function(b){a=b=b||window.OBR;c=new a.Oa};b.hm=function(c,e){c=a.b.dy(c);var d=e.w();d&&c&&0= d?((0,window.clearInterval)(g),c.resolve(b)):(b.style.opacity=d,a.f.ym?d=0:(b.style.filter="alpha(opacity="+100*d+")",d-=.1*d))},10);return c};b.Mt=function(b){var c=new a.Promise;b.style.opacity=0;(0,window.setTimeout)(function(){c.resolve(b)},0);return c};b.Ax=function(c,e,f,g){var d=new a.Promise;b.gg(e,c,f,g);(0,window.setTimeout)(function(){d.resolve(c)},0);return d};b.gg=function(c,e,f,g){e.innerHTML="";a.b.Oc(c,e);b.Qd(g,f)};b.Iw=function(b){var c=b.w();if(c&&c.parentNode){var d=a.b.Tb('
'+ c.outerHTML+"
");c.parentNode.replaceChild(d,c);b.w({Cl:!0})}};b.Qd=function(a,b){c.G("afterRender",[b],!1,a)};b.$r=function(b){var c=new a.Promise,d=.1,g=(0,window.setInterval)(function(){1<=d?((0,window.clearInterval)(g),b.removeAttribute("style"),c.resolve(b)):(b.style.opacity=d,a.f.ym?d=1:(b.style.filter="alpha(opacity="+100*d+")",d+=1.6*d))},50)};b.Uz=function(a){c.add("beforeRender",a)};b.pc=function(a){c.add("afterRender",a)};b.du=function(b){a.b.Lu(b)&&window.OBR.g.H(window.OBR.g.l.Wg, function(a){window.OBR.scroll.Yi(a)},this,b)};b.au=function(c){window.OBR.g.H(window.OBR.g.l.Hg,function(){b.us(c);a.controller.ve(c)},this)};b.us=function(a){b.hm(window.OBR.lf.Ut(a),a);window.OBR.lf.A()};b.ue=function(c){a.j.log("HTML - render widget");b.hm(c.rf(),c);c.td(!0)};b.da=function(){c.Fc()};b.A(window.OBR);return b}();window.OBR.Wf=window.OBR.Wf||{set:Ha,get:Ia};window.OBR.pk=window.OBR.pk||function(a){var b={},c=window.OBR,d={},e=null,f={},g={},k={},h="",l=null,m=null,n=null,p=null,q=!1,u=0,z="html",C=!1,E=4E3,y="nano",B=!1,I=!1,R=!1,F=0,Na=!1,Oa=!1,Pa=null,Qa=null,Ra=null,Sa=null,Ta=null,Ua=null,Va=null,Wa=!1;new window.OBR.Oa;var Xa=!1,Ya=-1,ta=null,Za=null,J,$a=null,ab=!0,bb=!1,cb=null,db=null,eb=null,Xc=null,Yc=null,Zc=null,$c=null,ad=null,Mb=null,Nb=null,Ob=null,bd=null,cd=null,dd=null,Pb=null,ed=null;b.Sy=0;b.Ry=1E3;b.Jy=2;b.I=a;b.gf="";b.ma={};b.gs= {slow:7E3,normal:5E3,fast:3E3,qa:5};b.setData=function(a){a&&a.response&&(a=a.response,a.request&&(f=a.request),a.settings&&(d=a.settings),a.meta&&(g=a.meta),a.data&&(k=a.data),a.viewability_actions&&(g.viewability_actions=a.viewability_actions),a.timestamp&&(l=a.timestamp),a.html&&(h=a.html),C=!0)};b.Mc=function(){return d};b.Ps=function(){return g};b.xx=function(a){a&&"object"===typeof a&&(g=a)};b.i=function(a,b){a=d[a];return"undefined"!==typeof a&&null!==a?a:b};b.Qa=function(a,b){a=g[a];return"undefined"!== typeof a&&null!==a?a:b};b.yb=function(a,b){a=k[a];return"undefined"!==typeof a&&null!==a?a:b};b.kt=function(a){return a&&a.response&&a.response.request&&(a=a.response.request,a=a.tcr)?a:-1};b.m=function(a,b){return(a=f[a])?a:b};b.pi=function(a){var b=f.obcnsnt;return!1===b?!1:!0===b?!0:a};b.Ws=function(){return(0,window.parseInt)(f.pad)};b.Vs=function(){return(0,window.parseInt)(f.org)};b.ot=function(){var a=b.Ws(),c=b.Vs();return(0,window.isNaN)(a)||(0,window.isNaN)(c)?window.NaN:c+a};b.Za=function(){return 0< b.ot()};b.rf=function(){return h};b.gg=function(a){h=a};b.si=function(){return l};b.Sx=function(a){b.ig(a.permalink);b.Vx(a.widgetId);b.ix(a.dynLoad);b.Wx(a.widgetType);b.Ux(a.fbk);b.mx(a.timeout);b.Ox(a.srcUrl);b.Px(a.testMode);b.Tx(a.wizWidget);b.kx(a.extId);b.tx(a.installationKey);b.ux(a.installationType);b.Xw(a.appVer);b.Ww(a.userId);b.Rx(a.videoId);b.Hx(a.playerSrcId);b.sx(a.inPlayer);b.Lx(a.rtbEnabled);b.Bx(a.num);b.bx(a.cardIdx);b.ox(a.feedFatherIdx);b.ao(a.feedFatherIdx);b.cx(a.categoryIds); b.nx(a.fId);b.ex(a.clickTrackerUrl);b.px(a.feedVersion);"boolean"===typeof a.isManualWidget&&b.vx(a.isManualWidget);b.fx(a.contentUrl);b.Zw(a.bundleUrl);b.Ix(a.portalUrl);b.wx(a.language);b.Jx(a.psub);b.jx(a.et);b.lx(a.extraParams)};b.C=function(){return m};b.Vx=function(a){m="string"===typeof a?a:"NA"};b.qx=function(){z="vjapi"};b.Nl=function(){return z};b.dA=function(a){u=a};b.lz=function(){return u};b.ta=function(){return n||Mb||Nb||Ob};b.ig=function(a){n=a};b.ti=function(){return Ua};b.Rx=function(a){Ua= a};b.Rl=function(){return Va};b.bx=function(a){Ya=a};b.ci=function(){return Ya};b.ox=function(a){ta=a};b.pz=function(){return ta};b.ao=function(a){void 0!==a&&null!==a&&(Za=c.v[a])};b.di=function(){return Yc};b.cx=function(a){Yc=a};b.Kc=function(){return Za};b.Ll=function(){return b.Kc()?b.Kc().m("wnid",null):$c};b.Jc=function(){return b.Kc()?b.Kc().m("abTestVal",null):null};b.qz=function(){return ta};b.jo=function(a){cb=a};b.li=function(){return cb};b.lo=function(a){db=a};b.ni=function(){return db}; b.ko=function(a){eb=a};b.mi=function(){return eb};b.Ex=function(a){Xc=a};b.bt=function(){return Xc};b.vu=function(){return-1<(0,window.parseInt)(b.ci(),10)};b.Hx=function(a){Va=a};b.sx=function(a){Wa=a};b.vm=function(){return Wa};b.Px=function(a){Na="true"===a||!0===a};b.uf=function(){return Na};b.Tx=function(a){Oa="true"===a||!0===a};b.Xu=function(){return Oa};b.kx=function(a){Pa=a};b.Ud=function(){return Pa};b.Lx=function(a){bb=a};b.Am=function(){return bb};b.fA=function(a){ab=a};b.Im=function(){return ab}; b.Bx=function(a){(0,window.isNaN)(a)||($a=a)};b.sf=function(){return $a};b.tx=function(a){Qa=a};b.ux=function(a){Ra=a};b.Xw=function(a){Sa=a};b.Ww=function(a){Ta=a};b.xb=function(){return Ta};b.Ox=function(a){p=a};b.Wl=function(){return p};b.pu=function(){return q};b.ix=function(a){q="true"===a||!0===a};b.sm=function(){return"flyThrough"===b.i("displayMode","")};b.Mi=function(){return!0===b.i("stopRater",!1)||!0===b.i("stopWidget",!1)};b.nm=function(){return C};b.Nu=function(){return!0===b.i("isSkylandersInjectionEnabled", !1)};b.Qu=function(){return!0===b.i("isTopBoxInjectionEnabled",!1)};b.Ni=function(){return null!==b.i("recMode","").match(/(odb_dynamic_swipe|odb_dynamic_smartfeed-swipe)/)};b.mm=function(){return null!==b.i("recMode","").match(/(odb_dynamic_ad-carousel)/)};b.Mu=function(){return null!==b.i("recMode","").match(/(odb_dynamic_single-card-carousel)/)};b.lu=function(){return null!==b.i("recMode","").match(/(odb_dynamic_cards-carousel-box)/)};b.Gu=function(){return null!==b.i("recMode","").match(/(odb_playableAd)/)}; b.Hu=function(){return null!==b.i("recMode","").match(/(odb_podcast)/)};b.Fu=function(){return b.i("isParallax",!1)};b.Au=function(){return b.i("gridCarouselEnabled",!1)};b.Gm=function(){return null!==b.i("recMode","").match(/(odb_timeline)/)};b.pm=function(){return null!==b.i("recMode","").match(/(odb_dynamic_display)/)};b.Bm=function(){return null!==b.i("recMode","").match(/(odb_dynamic_reel)/)};b.uu=function(){return null!==b.i("exploreMoreWidgetId",null)};b.Bu=function(){return null!==b.i("recMode", "").match(/(odb_dynamic_grid)/)};b.Hz=function(){return!0===b.i("isMegaBlockInjectionEnabled",!1)};b.Yu=function(){return!0===b.i("IsWidgetInjector",!1)};b.wu=function(){return b.jb()&&b.i("recReasonType")&&-1c?a=window.OBR.b.Gs(n,c):a=b.gf;return a};b.Cm=function(){return B};b.td=function(a){B=!!a};b.Dz=function(){return"hp"===y};b.oz=function(){return b.ma};b.eA=function(a){"object"===typeof a&&(b.ma=a)};b.od=function(){return I};b.Kl=function(){return E};b.Eu=function(){return 0===a||I||!window.OBR.f.Ef||R};b.Cx=function(){R=!0};b.mx=function(a){E=b.gs[a]||6E3};b.vx=function(a){I=!!a};b.no=function(){var a=b.m("lsd",null),d=!0=== b.m("oo",!1),e="string"===typeof a&&0=-a.offsetHeight)return Math.floor(c.top-window.document.documentElement.clientHeight);var d=b.Sl(),e=d&&d.height,f=d&&d.y;return e&&f?Math.floor(e+f-window.document.documentElement.scrollTop): null}catch(pi){return null}};b.getBoundingClientRect=function(){if(!Pb){var a=b.w();a&&(Pb=a.getBoundingClientRect())}return Pb};b.Sl=function(){if(b.od())return null;try{if(b.w()){var a=b.getBoundingClientRect();return{x:Math.floor(a.left+(window.pageXOffset||window.document.documentElement.scrollLeft)),y:Math.floor(a.top+(window.pageYOffset||window.document.documentElement.scrollTop)),height:Math.abs(Math.floor(a.height)),width:Math.abs(Math.floor(a.width))}}return null}catch(ni){return null}}; b.Jm=function(){return"RTL"===b.i("dynamicWidgetDirection","LTR").toUpperCase()};b.Cu=function(){return window.OBR.f.Kt&&!b.Jm()&&b.Bu()};b.It=function(){return 1===b.Qa("clips",0)};b.sy=function(d,f){if(d=window.document.querySelector('[data-orig-idx="'+d+'"]'))d.id=window.OBR.f.vg+f,c.b.Sa(d,"data-idx",f),a=b.I=f,e=null};b.ur=function(a){var b=window.document.getElementById(window.OBR.f.vg+a);b&&(b.removeAttribute("id"),b.removeAttribute("data-idx"),b.setAttribute("data-orig-idx",a))};return b}; window.OBR.ad=window.OBR.ad||function(){var a=window.OBR,b={},c=new a.Oa;b.Hh=function(b){b.idx=b.idx||0;var c=new a.pk(b.idx);c.Sx(b);return c};b.Dd=function(d,e){var f,g=a.Ma.Lr(d);a.b.Sa(d,"data-dynLoad","");g.permalink=a.Ma.ts(g.permalink);e?f=e:f=0!==a.v.length||a.f.Rc!==g.permalink&&!0!==a.f.Vi?a.v.length:1;g.idx=f;e=b.Hh(g);a.v[f]=e;a.b.Sa(d,"data-idx",f);a.f.Bl(g);0===f&&a.b.Uk(d);d.id=a.f.vg+f;c.G("onWidgetCreate",[e]);return e};b.tn=function(a){c.add("onWidgetCreate",a)};return b}(); window.OBR.Ma=window.OBR.Ma||function(){var a=window.OBR,b={eb:{widgetId:{a:"data-widget-id",t:"string"},permalink:{a:"data-src",t:"string"},srcUrl:{a:"data-ob-srcUrl",t:"string"},dynLoad:{a:"data-dynLoad",t:"boolean"},widgetType:{a:"data-widget-type",t:"string"},timeout:{a:"data-timeout",t:"string"},fbk:{a:"data-fbk",t:"string"},testMode:{a:"data-ob-test",t:"boolean"},wizWidget:{a:"data-ob-wiz",t:"boolean"},installationKey:{a:"data-ob-installation-key",t:"string"},userId:{a:"data-ob-user-id",t:"string", n:!0},videoId:{a:"data-ob-video-id",t:"string"},playerSrcId:{a:"data-ob-player-src-id",t:"string"},inPlayer:{a:"data-ob-in-player",t:"boolean"},installationType:{a:"data-ob-installation-type",t:"string"},appVer:{a:"data-ob-app-ver",t:"string"},isSecured:{a:"data-is-secured",t:"boolean"},extId:{a:"data-external-id",t:"string"},rtbEnabled:{a:"data-rtb-enabled",t:"boolean"},va:{a:"data-va",t:"boolean"},num:{a:"data-num-of-recs",t:"string"},cardIdx:{a:"data-card-idx",t:"string"},feedFatherIdx:{a:"data-feed-father-idx", t:"string"},categoryIds:{a:"data-category-ids",t:"string"},fId:{a:"data-fId",t:"string"},clickTrackerUrl:{a:"data-click-url",t:"string"},feedVersion:{a:"data-feed-version",t:"string"},contentUrl:{a:"data-ob-contentUrl",t:"string"},bundleUrl:{a:"data-ob-bundleUrl",t:"string"},portalUrl:{a:"data-ob-portalUrl",t:"string"},language:{a:"data-ob-language",t:"string"},psub:{a:"data-ob-psub",t:"string"},et:{a:"data-et",t:"boolean"},extraParams:{a:"data-extra-params",t:"string"}},Yl:function(b){var c,e;if(a.v){var f= a.v.length;for(c=0;cb||100=b}a=a.getBoundingClientRect();d=this.Da.height;a={top:a.top-c.top,height:a.height+c.bottom,bottom:a.top+a.height+c.bottom};b=Math.round(a.height*b/100)||1;b=b>d?d-1:b;return a.top+b<=d&&0<=a.bottom-b}; Ka.prototype.Pc=function(a,b,c,d){if(Bc){d=this.vh;if(!d)return!1;a=ib(a,d);d=hb(a,d);d=d.width*d.height}else c=a=a.getBoundingClientRect(),d=d?d.getBoundingClientRect():{top:0,left:0,width:Math.max(window.document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(window.document.documentElement.clientHeight,window.innerHeight||0)},d=(Math.min(c.width+c.left,d.width+d.left)-Math.max(c.left,d.left))*(Math.min(c.height+c.top,d.height+d.top)-Math.max(c.top,d.top));return d/(a.width*a.height)>= b/100};window.OBR.ga=window.OBR.ga||new Ka;window.OBR.IntersectionObserver=window.OBR.IntersectionObserver||function(){function a(a){this.$a=null;this.o=!1;this.h=null;this.D={callback:function(){},callbackParams:[],element:null,intersectPercentage:0,scrollDimmer:200,unobserve:!1,threshold:[1],rootMargin:"0px"};this.F(a)}a.prototype.F=function(a){a&&(this.D=Object.assign(this.D,a),this.D.callbackParams=this.D.callbackParams||[])};a.prototype.J=function(){var a={rootMargin:this.D.rootMargin,threshold:this.D.threshold};this.D.root&&(a.root= this.D.root);this.h=new window.IntersectionObserver(this.Z.bind(this),a);this.h.observe(this.D.element);return this.h};a.prototype.Z=function(a,c){this.D?this.D.element&&window.document.body.contains(this.D.element)?a&&a[0]&&a[0].intersectionRatio>this.D.intersectPercentage&&(this.D.callback.call.apply(this.D.callback,[this].concat(OBR._jsc.sa(this.D.callbackParams),[a[0]])),this.D.unobserve&&(c.unobserve(a[0].target),c.disconnect())):(c.unobserve(this.D.element),c.disconnect()):c.disconnect()}; a.prototype.ia=function(){var a=this.D.checkAbsoluteVisibility?window.OBR.ga.Pc:window.OBR.ga.Ze;if(this.o)this.o=!1;else{var c=this.D.intersectPercentage;a.call(window.OBR.ga,this.D.element,0<=c&&1>=c?100*c:c,this.D.rootMarginObj,this.D.root)&&(this.o=!0,this.D.callback.apply(this,this.D.callbackParams),this.D.unobserve&&window.OBR.b.Sb(window,"scroll",this.c))}};a.prototype.u=function(){var a=this;this.D&&this.D.element&&window.document.body.contains(this.D.element)?this.$a||(this.ia(),(0,window.setTimeout)(function(){a.$a= !1},this.D.scrollDimmer),this.$a=!0):window.OBR.b.Sb(window,"scroll",this.c)};a.prototype.ya=function(){var a=this.D.rootMargin.split(" ");this.D.rootMarginObj={top:(0,window.parseInt)(a[0]),right:(0,window.parseInt)(a[1]||a[0]),bottom:(0,window.parseInt)(a[2]||a[0]),left:(0,window.parseInt)(a[3]||a[0])}};a.prototype.unobserve=function(){window.OBR.f.xi?this.h.disconnect():window.removeEventListener("scroll",this.c);this.D=null};a.prototype.observe=function(){if(!this.D||!this.D.element)return null; if(window.OBR.f.xi)return this.J();this.ya();this.c=this.u.bind(this);window.OBR.b.Aa(window,"scroll",this.c);this.u();return this};return a}();lb.prototype.F=function(a){if(!a.zy){var b=a.U();this.c[b]||(this.c[b]=a.w());window.OBR.f.qq||(b=a.U(),(new window.OBR.IntersectionObserver({callback:this.vf.bind(this),callbackParams:[b],element:a.w(),unobserve:!0,threshold:[0]})).observe())}};lb.prototype.fg=function(){var a=this;this.c.forEach(function(b,c){void 0!==b&&b&&window.OBR.ga.Ze(b,0)&&a.vf(c)})};lb.prototype.da=function(){this.$a=!1;this.c=[];this.h=new window.OBR.ll;this.J=0;this.startTime=(new Date).getTime();this.o=!1}; lb.prototype.vf=function(a){if(this.c[a]||nb(window.OBR.v[a])){var b=window.OBR.v[a];mb(this,b,this.Pa.Nd);b.zy=!0;jb(b);this.c[a]=null}return a};window.OBR.lb=window.OBR.lb||new lb;window.OBR.ef=new function(){};var vb=window.OBR.f.vn+"loggerServices/dwce_cheq_events";var Fb="https://tcheck."+window.OBR.f.iw+"/tcheck/check";window.OBR.fc||(window.OBR.fc=new Ib,window.OBR.Ie=new xb,Sb());var Cc=window.OBR.f.vn+"api/loggerBatch/log-viewability";Yb.prototype.log=function(a,b){a={timeElapsed:Date.now()-this.startTime,requestId:a.m("req_id",null),position:+b.getAttribute("data-pos"),renderables:Vb(b)};if(b=b.querySelector(".ob-rec-image-container"))a.imageHeight=b.offsetHeight,a.imageWidth=b.offsetWidth;this.h.push(a);10<=this.h.length?(this.c&&((0,window.clearTimeout)(this.c),this.c=null),this.o()):this.c||(this.c=(0,window.setTimeout)(this.o.bind(this),1200))}; Yb.prototype.o=function(){this.c=null;if(this.h.length){var a=this.h.splice(0);a&&a.length?this.vj(a):window.OBR.error(Error("Failed to send viewability data"))}};Yb.prototype.vj=function(a){window.OBR.f.og?window.navigator.sendBeacon(Cc,JSON.stringify(a)):this.yh(Cc,a)};Yb.prototype.yh=function(a,b){window.OBR.Ja.Fn(a,b)};var Dc={Fh:!1};OBR._jsc.r=Zb.prototype;OBR._jsc.r.Ji=function(a){return a.i("listingsViewability",!0)};OBR._jsc.r.Dc=function(a,b){if(this.Ji(a)){var c=Object.assign({},Dc);b&&Object.assign(c,b);a.Mo=c;c.pv||(b=a.Mo.Fh?this.h(a):this.o(a))&&0d.y?c.height+=e:d.y>f.height&&(c.y-=e);b=b.J;b=0<(Math.min(c.width+c.x,b.width+b.x)-Math.max(c.x,b.x))*(Math.min(c.height+c.y,b.height+b.y)-Math.max(c.y,b.y))}else b=!1;b?jc.h(a):lc(a)}}};window.OBR.hn=window.OBR.hn||mc;nc.prototype.G=function(a,b,c){if(this.h&&"undefined"!==typeof b&&"undefined"!==typeof c){c.method=window.OBR.Ja.Ou()?c.method:window.OBR.f.ca.hp;var d=c.callback?c.callback:function(){};b=b?b:{};c.FIRED=c.FIRED?c.FIRED:0;if(!(c.LIMIT&&c.FIRED>=c.LIMIT))switch(c.FIRED+=1,a=this.th(a,b,c.method),c.method){case window.OBR.f.ca.cp:window.OBR.Ja.get(this.c,a,d,!0);break;case window.OBR.f.ca.ka:window.OBR.Ja.jj(this.c,a,d);break;default:window.OBR.Ja.av(this.c,a,d)}}}; nc.prototype.th=function(a,b,c){var d={},e=this.s.Kc(),f=!this.s.jb()&&!!e,g=f?e.m("wnid",""):this.s.m("wnid",""),k=f||this.s.jb()?this.s.m("wnid",""):null;e=f?e.m("widgetJsId",""):this.s.m("widgetJsId","");f=f||this.s.jb()?this.s.m("widgetJsId",""):null;b.ajaxMethod=c;b.clientTimestamp=Date.now();b.timestamp="";b.publisherId=this.s.m("pid","");b.sectionId=this.s.m("sid","");b.widgetJsId=e;b.widgetId=g;b.subWidgetJsId=f;b.subWidgetId=k;b.cardIdx=this.s.ci();b.docId=this.s.m("did","");b.uuid=this.s.m("lsd", "");b.platform=this.s.m("readerPlatform","");b.deviceOs="";b.deviceOrientation=window.OBR.b.Hl();this.s.pi(!0)||delete b.uuid;d.sessionId=this.o;d.eventGroup=this.u;d.eventTypeId=a;d.requestId=this.s.m("req_id",-1);d.attributes=JSON.stringify(b);return d};nc.prototype.setActive=function(a){this.h=a};window.OBR.L=nc;window.OBR.proxy=window.OBR.proxy||{iv:function(a,b,c){window.OBR.g.H(b,c,this,{currentWidget:a,beforeLoadTime:(new Date).getTime()})}}; window.OB_PROXY=window.OB_PROXY||{getSet:function(a,b,c){return a.i(b,c)},getRequest:function(a,b,c){return a.m(b,c)},getWidgetId:function(a){return a.C()},makeHandshake:function(a){window.OBR.g.O(a)},hasJqueryInstalled:function(){return window.OBR.b.dm()},getWidgetIndex:function(a){return a.U()},getMeta:function(a,b,c){return a.Qa(b,c)},getFeedParentWidget:function(a){return a.Kc()},getFeedFatherAB:function(a){return a.Jc()},isFeedCard:function(a){return a.vu()},getUserId:function(a){return a.xb()}, getDataSrcFinalUrl:function(a){return a.ta()},getAdBlockerStatus:function(){return window.OBR.qb.ae()},getExtId:function(a){var b="",c=window.OBR.b.ug(window.OBR.f.Ph);a=window.OBR.b.ug(a.Ud());if(c||a)b=a||c;return b}};window.OBR.extern=window.OBR.extern||function(){var a=window.OBR,b={Yd:[],getStat:function(){},showDescription:function(b,d){a.g.H(window.OBR.g.l.Qg,function(){window.OBR.En.hv(b,d)},this)},returnedHtmlData:function(b,d){a.controller.Of(b,d)},returnedIrdData:function(b,d){a.dc.Jk(b,d)},returnedJsonData:function(b,d){a.controller.on(b,d)},returnedError:function(b){window.OBR.j.log("Call made using extern class");a.j.log("Callback error"+b)},callRecs:function(b,d){window.OBR.j.log("Call made using extern class"); a.controller.Wi(b,function(a){try{d(a)}catch(f){window.OBR.j.log(f)}})},callClick:function(b,d){window.OBR.j.log("Call made using extern class");a.controller.ie(b,d)},callWhatIs:function(a,b,e,f,g,k){window.OBR.g.H(window.OBR.g.l.Qe,function(){window.OBR.Rj.Hk(a,b,e,f,g,k)},this);return!1},callUserZapping:function(a,b,e,f,g){window.OBR.g.H(window.OBR.g.l.gh,function(){window.OBR.Oj.Nq(a,b,e,f,g)},this);return!1},zappingFormAction:function(a,b,e,f,g){window.OBR.Oj.So(a,b,e,f,g);return!1},userZappingMessage:function(a){window.OBR.j.log(a.message)}, recClicked:function(b,d){window.OBR.j.log("Call made using extern class");a.controller.Kn(d)},imageError:function(b){window.OBR.j.log("Call made using extern class");window.OBR.error({name:"obm-ImageError",message:"Error loading as image: "+b.src});a.b.Nk(b)},carouselLogoError:function(b,d){window.OBR.j.log("Call made using extern class");a.controller.cq(b,d)},logError:function(b,d,e,f){a.b.nc(b,d,e,f)},openNativeVideoPlayer:function(b,d,e,f,g,k,h,l,m,n,p,q,u,z,C,E,y){a.g.H(a.g.l.Ad,function(){y= y?y:a.v[q].m("req_id",null);window.NVPInjector.main.init(a.b.uy([b,d,e,f,g,k,h,l,m,n,p,q,u,z,y,a.f.Yf,a.v[q].m("lang","en"),a.v[q].m("lsd",null),a.v[q].m("pid",null),a.v[q].m("sid",null),a.v[q].m("wnid",null),C,a.v[q].m("gl",""),a.v[q].si(),a.v[q].m("widgetJsId",a.v[q].C()),a.v[q].m("req_id","-1"),a.v[q].m("pvId","-1")]),a.v[q].Mc(),E)},this);return!1},openOverlay:function(b){a.g.H(a.g.l.Ad,function(){var c=b.getAttribute("data-nvp");if(null!==c&&"string"===typeof c){c=window.JSON.parse(b.getAttribute("data-nvp").replace(/"/g, "#$#").replace(/'/g,'"').replace(/\\"/g,"'").replace("#$#",'\\"'));var e=a.v[c.widgetIdx];c.platform=a.f.Yf;c.lang=e.m("lang","en");c.uuid=e.m("lsd",null);c.publisherId=e.m("pid",null);c.sourceId=e.m("sid",null);c.widgetNumberId=e.m("wnid",null);c.location=e.m("gl","");c.timestamp=e.si();window.NVPInjector.main.recClicked(c,e.Mc())}else a.error({name:"obm-nvpError",message:"Error parsing data-nvp: "+c,stack:"None"})},this);return!1},handshakeNVP:function(){a.g.O(window.OBR.g.l.Ad)},onVideoClick:function(b, d){a.controller.dj(b,d)},manualVideoClicked:function(b,d,e,f,g){a.controller.Xi(b,d,e,f,g)},errorInjectionHandler:function(a){window.OBR.v[a].hz(a)},reloadWidget:function(){window.OBR.j.log("## Reload widget");a.controller.Rn()},researchWidget:function(){window.OBR.j.log("## Research widget");a.controller.Xc()},renderSpaWidgets:function(b){window.OBR.j.log("## renderSpaWidgets - SPA has triggered a widget render");window.OBR.f.ye&&window.OBR.f.ye.Or!==b?(window.OBR.j.log("## renderSpaWidgets - page navigation detected. triggering reload"), a.controller.Rn()):(window.OBR.j.log("## renderSpaWidgets - "+(window.OBR.f.ye?"still on same page":"first widget mounting detected")+". researching for new widgets on page"),a.controller.Xc());window.OBR.f.ye=window.OBR.f.ye||{};window.OBR.f.ye.Or=b},cancelRecommendation:function(b){window.OBR.j.log("cancel recommendation with bocr "+b);a.controller.Pq(b)},cancelRecs:function(b,d,e){window.OBR.j.log("cancel recommendation by doc url "+b+" publisher id = "+d+" isAd = "+e);a.controller.Qq(b,d,e)}, refreshWidget:function(b){window.OBR.j.log("## Refresh widget");a.controller.rc(b)},setABtest:function(b){b&&(a.f.sh="&obAbtest="+b)},refreshSpecificWidget:function(b,d){window.OBR.j.log("## Refresh SPECIFIC widget");"string"!==typeof d?a.g.H(a.g.l.Ug,function(){window.OBR.controller.On(b,d)},this):window.OBR.controller.On(b,d)},getCountOfRecs:function(b){return a.controller.Cs(b)},onOdbReturn:function(b,d){a.controller.Bw(b,d)},closeCard:function(){a.lf.vr()},closeModal:function(){try{a.modal.hideModal()}catch(c){window.OBR.error(c)}}, handshakeModule:function(b){try{var c=window.OBR.g.Rs(b);c?window.OBR.g.O(c):a.error({name:"obm-MakeHandShakeError",message:"Error in module: "+b+", Err: Module not found",stack:"None"})}catch(e){window.OBR.error(e)}},callLoadMore:function(a,b){window.OBR.g.H(window.OBR.g.l.Ne,function(){window.OBR.Qi.$d(a,b)},this)},enableTbx:function(){window.OBR.vc?window.OBR.vc.im():window.OBR.f.xn=!0},closeTbx:function(){window.OBR.vc.xr()},scrollIntoView:function(){pb()},ampIntersectionChange:function(a){window.OBR.ga.vh= a},ampUpdateViewportSize:function(){La(window.OBR.ga)},callUserSentiments:function(b,d){window.OBR.g.H(window.OBR.g.l.fh,function(){window.OBR.Lo.Mq(b,d)},this,null,a.v[d.idx].m("lang","en"));return!1},video:{}};b.video.getVideoRecs=function(a,b,e,f,g,k,h){window.OBR.g.H(window.OBR.g.l.hh,function(){window.OBR.video.rt(a,b,e,f,g,k,h)},this)};b.video.videoClicked=function(a){window.OBR.video.vy(a)};b.video.initInPlayerWidget=function(c){c=new window.OBR.gp(c);b.Yd.push(c);1!==a.g.Ss(a.g.l.Le)&&a.g.H(a.g.l.Le, function(){a.Nc.Sm(b.Yd)},this);return c};b.recReasons={};b.recReasons.loadScopedWidget=function(b,d,e,f){return a.controller.Um(b,d,e,f)};b.recReasons.backFromScopedWidget=function(b){return a.controller.vq(b)};b.recReasons.onRecLinkHover=function(a){window.OBR.b.S(a.parentElement,"rec-link-hover")};b.recReasons.onRecLinkHoverOut=function(a){window.OBR.b.V(a.parentElement,"rec-link-hover")};b.truncateText=function(a,b,e){OBR._jsc.ub(window.OBR.ef,a,b,e)};b.reloadPager=function(a,b){(a=window.OBR.v[a])&& window.OBR.controller.yn(a,void 0===b?!1:b)};b.recReasons.onRecFollowClick=function(a,b,e,f){window.OBR.mj&&window.OBR.mj.yw(a,b,e,f)};b.triggerClickPixels=function(b,d,e){a.controller.Fo(b,d,e)};b.mraidOpen=function(b,d){a.controller.jy(b,d)};b.customClickHandler=function(b,d,e,f){a.controller.iy(b,d,e,f)};b.onCheqResponse=function(b){a.Ie.Eh(b)};b.callViewed=function(a){window.OBR.controller.Oq(a)};b.feed={};b.feed.loadNextChunk=function(a){return window.OBR.ze&&window.OBR.ze.externalChunkLoad(a)}; b.renderJSFormatWidget=function(a,b,e){window.OBR.controller.Lw(a,b,e)};b.renderJSFormatChunk=function(a){window.OBR.controller.cg(a)};b.clipError=function(a){var b=a?a.error:null,c="",f="";b&&(c=b.code,f=c.message);b="Error loading as video: "+a.src;window.OBR.error({name:"obm-ClipError",message:b+(c?"; Error code: "+c:"")+(f?"; ErrorMessage: "+f:""),errorEleUrl:a.src})};return b}(); if("undefined"!==typeof window.OBBridge){var Ec={};window.OBR.clickHandler=(Ec.open=function(a,b,c){return window.OBBridge.clickHandler.open(a,b,c)},Ec);var Fc={};window.OBR.viewHandler=(Fc.loadMore=function(a){return window.OBBridge.viewHandler.loadMore(a)},Fc)}window.outbrain=window.outbrain||{};window.outbrain.returnedHtmlData=function(a,b){window.OBR.controller.Of(a,b)};window.outbrain.returnedIrdJsonData=function(a,b){window.OBR.dc.Jk(a,b)}; window.outbrain.returnedJsonData=function(a,b){window.OBR.controller.on(a,b)};window.outbrain.returnedError=function(a){window.OBR.j.log("Callback error"+a)};window.outbrain.callRecs=function(a,b){window.OBR.controller.Wi(a,b)};window.outbrain.callClick=function(a,b){window.OBR.controller.ie(a,b)};window.outbrain.callWhatIs=function(a,b,c,d,e,f){window.OBR.g.H(window.OBR.g.l.Qe,function(){window.OBR.Rj.Hk(a,b,c,d,e,f)},this)}; window.outbrain.callLoadMore=function(a,b){window.OBR.g.H(window.OBR.g.l.Ne,function(){window.OBR.Qi.$d(a,b)},this)};window.outbrain.recClicked=function(a,b){window.OBR.controller.Kn(b)};window.outbrain.imageError=function(a){window.OBR.b.Nk(a)};window.outbrain.closeModal=function(){try{window.OBR.modal.hideModal()}catch(a){window.OBR.error(a)}};window.outbrain_rater=window.outbrain_rater||{};window.outbrain_rater.returnedHtmlData=function(a,b){window.OBR.controller.Of(a,b)}; window.outbrain_rater.returnedCancelOdbData=function(a){window.OBR.controller.Nw(a)};!0===window.OBR.f.rm&&(window.OBR.j.log("Widget Start!"),window.OBR.f.rm=!1,"boolean"===typeof window.OB_PASSIVE_MODE&&!0===window.OB_PASSIVE_MODE?window.OBR.j.log("passive"):window.OBR.controller.Wn(),window.OBR.ready=!0,window.OBR.ui.ns());} catch(ex){ window.OBR.error(ex);}})();